From: Gianni Tedesco Date: Tue, 11 Jan 2011 16:31:47 +0000 (+0000) Subject: stubdom/minios: don't retrieve the address of void variable X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~10931^2~18 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22Dat/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22Dat?a=commitdiff_plain;h=b3c8bef7a7f9f0e5164f9efae638685e2964a243;p=xen.git stubdom/minios: don't retrieve the address of void variable Objects must not be declared to have type void. Declare shared_info to have the appropriate type instead. Author: Ganni Tedesco Signed-off-by: Ian Jackson Committed-by: Ian Jackson --- diff --git a/extras/mini-os/arch/x86/mm.c b/extras/mini-os/arch/x86/mm.c index cb7f037477..80aceacd2a 100644 --- a/extras/mini-os/arch/x86/mm.c +++ b/extras/mini-os/arch/x86/mm.c @@ -281,7 +281,7 @@ static void build_pagetable(unsigned long *start_pfn, unsigned long *max_pfn) /* * Mark portion of the address space read only. */ -extern void shared_info; +extern struct shared_info shared_info; static void set_readonly(void *text, void *etext) { unsigned long start_address =